package com.work.cos.service.impl.pr;

import java.util.List;

import org.springframework.stereotype.Service;

import com.work.cos.domain.entity.pr.PrProductEntity;
import com.work.cos.mapper.pr.PrProductMapper;
import com.work.cos.service.impl.BaseServiceImpl;
import com.work.cos.service.interfc.pr.IPrProductService;

@Service
public class PrProductServiceImpl extends BaseServiceImpl<PrProductMapper, PrProductEntity> implements IPrProductService{

	@Override
	public List<PrProductEntity> getListBySecondId(Long secondId) {
		return baseMapper.getListBySecondId(secondId);
	}

	@Override
	public List<PrProductEntity> getListByIsRecommd() {
		return baseMapper.getListByIsRecommd();
	}

	@Override
	public List<PrProductEntity> getListByIsRed() {
		return baseMapper.getListByIsRed();
	}

	@Override
	public List<PrProductEntity> getListByIsToday() {
		return baseMapper.getListByIsToday();
	}

	@Override
	public List<PrProductEntity> getListByIsSelect() {
		return baseMapper.getListByIsSelect();
	}

	@Override
	public List<PrProductEntity> getListByIsBrand() {
		return baseMapper.getListByIsBrand();
	}

}
